//
//  WBHomeViewController.swift
//  SinaWeibo
//
//  Created by 张晗 on 2017/1/26.
//  Copyright © 2017年 zhanghan. All rights reserved.
//

import UIKit

class WBHomeViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
    }
    
    @objc fileprivate func leftBarAction() {
        navigationController?.pushViewController(WBTestViewController(), animated: true)
    }
}


extension WBHomeViewController {
    override func setupUI() {
        super.setupUI()
        
        customNavItem.leftBarButtonItem = UIBarButtonItem(title: "好友", target: self, action: #selector(leftBarAction))
    }
}
